/**
 * Project Name:PayConstant.java
 * File Name:PayConstant.java
 * Date:2018/8/2 上午9:04
 * Copyright (c) 2018, zhang.xiangyu@foxmail.com All Rights Reserved.
*/
package com.meatball.base.pay.cons;

/**
 * @Title: PayConstant.java
 * @Description: todo(支付常量类)
 * @Author 張翔宇
 * @Date 2018/8/2 上午9:04
 * @Version V1.0
 */
public class PayConstant {
    /**
     * 微信公众号支付
     */
    public final static String PAY_CHANNEL_WX_JSAPI = "JSAPI";
    /**
     * 微信原生扫码支付
     */
    public final static String PAY_CHANNEL_WX_NATIVE = "NATIVE";
    /**
     * 微信APP支付
     */
    public final static String PAY_CHANNEL_WX_APP = "APP";
    /**
     * 微信H5支付
     */
    public final static String PAY_CHANNEL_WX_MWEB = "MWEB";

    /**
     * 渠道名称:微信
     */
    public final static String CHANNEL_NAME_WX = "WX";
    /**
     * 渠道名称:支付宝
     */
    public final static String CHANNEL_NAME_ALIPAY = "ALIPAY";

    /**
     * @Title: PayConstant.java
     * @Description: todo(微信支付)
     * @Author 張翔宇
     * @Date 2018/8/2 上午9:13
     * @Version V1.0
     */
    public static class WxConstant {
        /**
         * APP支付
         */
        public final static String TRADE_TYPE_APP = "APP";
        /**
         * 公众号支付或小程序支付
         */
        public final static String TRADE_TYPE_JSPAI = "JSAPI";
        /**
         * 原生扫码支付
         */
        public final static String TRADE_TYPE_NATIVE = "NATIVE";
        /**
         * H5支付
         */
        public final static String TRADE_TYPE_MWEB = "MWEB";

    }
}
